package common.customer.service;

import common.customer.bean.Customer;

public interface CustomerService {
	public Customer getCustomerByID(int id);
	public Customer getCustomerByNameAndPass(String name,String password);
	public Customer getCustomerByName(String name);
	public Customer getCustomerByUUID(String uuid);
	public boolean addCustomer(Customer cust);
	public boolean delCustomer(Customer cust);
	public boolean delCustomer(int id);
	public boolean updateCustomer(Customer cust);
	public int countCustomer();
	public int countCustomerByCityId(int cityId);
	public int countCustomerByName(String name);
	public boolean testNichengExist(int customerId,String nicheng);
	public boolean updateNicheng(int customerId,String nicheng);
	public int qiandao(int customerId,String nicheng);
}
